package com.ttc.ssm.mapper.home;

import com.sun.xml.internal.ws.api.message.ExceptionHasMessage;
import com.ttc.ssm.po.Company;
import com.ttc.ssm.po.CompanyDetail;

/**
 * Created by Jiarui on 2016/8/3.
 */
public interface HomeCompanyMapper {
    public Company selectByEmail(String e_mail) throws Exception;
    public Company selectById(int company_id) throws Exception;
    public int register_company(Company company) throws Exception;
    public CompanyDetail selectCompanyDetail(int company_id) throws Exception;
    public int save_psd(Company company) throws Exception;

    int selectStatusByCompanyId(int company_id) throws Exception;
    int selectDetailStatusByCompanyId(int company_id) throws Exception;
}
